package com.suning.sawp.intf.taskCard.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 首页任务卡信息 〈一句话功能简述〉<br>
 * 〈功能详细描述〉
 *
 * @author 15050519
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class TaskCardDto implements Serializable {

    /**
     */
    private static final long serialVersionUID = 493766726046286042L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 工号
     */
    private String staffId;

    /**
     * 业务类型
     */
    private String bizKey;

    /**
     * 卡片类型
     */
    private String cardType;

    /**
     * 标题
     */
    private String title;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 数值1
     */
    private String firstNum;

    /**
     * 数值1
     */
    private String secondNum;

    /**
     * 数值3
     */
    private String thirdNum;

    /**
     * 任务状态
     */
    private String taskStatus;

    /**
     * wap地址
     */
    private String wapLink;

    /**
     * 任务提示
     */
    private String taskTips;

    /**
     * 提成
     */
    private String partnumberAmt;

    /**
     * 品类编码
     */
    private String cateCode;

    /**
     * 扩展1-外部WAP页,头部标识是否显示0-不显示,1-是显示
     */
    private String ext1;

    /**
     * 扩展2
     */
    private String ext2;

    /**
     * 扩展3
     */
    private String ext3;

    /**
     * 扩展4
     */
    private String ext4;

    /**
     * 扩展5
     */
    private String ext5;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getBizKey() {
        return bizKey;
    }

    public void setBizKey(String bizKey) {
        this.bizKey = bizKey;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getWapLink() {
        return wapLink;
    }

    public void setWapLink(String wapLink) {
        this.wapLink = wapLink;
    }

    public String getTaskTips() {
        return taskTips;
    }

    public void setTaskTips(String taskTips) {
        this.taskTips = taskTips;
    }

    public String getPartnumberAmt() {
        return partnumberAmt;
    }

    public void setPartnumberAmt(String partnumberAmt) {
        this.partnumberAmt = partnumberAmt;
    }

    public String getCateCode() {
        return cateCode;
    }

    public void setCateCode(String cateCode) {
        this.cateCode = cateCode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getFirstNum() {
        return firstNum;
    }

    public void setFirstNum(String firstNum) {
        this.firstNum = firstNum;
    }

    public String getSecondNum() {
        return secondNum;
    }

    public void setSecondNum(String secondNum) {
        this.secondNum = secondNum;
    }

    public String getThirdNum() {
        return thirdNum;
    }

    public void setThirdNum(String thirdNum) {
        this.thirdNum = thirdNum;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

    public String getExt4() {
        return ext4;
    }

    public void setExt4(String ext4) {
        this.ext4 = ext4;
    }

    public String getExt5() {
        return ext5;
    }

    public void setExt5(String ext5) {
        this.ext5 = ext5;
    }

    @Override
    public String toString() {
        return "TaskCardDto [id=" + id + ", staffId=" + staffId + ", bizKey=" + bizKey + ", cardType=" + cardType
                + ", title=" + title + ", startTime=" + startTime + ", endTime=" + endTime + ", firstNum=" + firstNum
                + ", secondNum=" + secondNum + ", thirdNum=" + thirdNum + ", taskStatus=" + taskStatus + ", wapLink="
                + wapLink + ", taskTips=" + taskTips + ", partnumberAmt=" + partnumberAmt + ", cateCode=" + cateCode
                + ", ext1=" + ext1 + ", ext2=" + ext2 + ", ext3=" + ext3 + ", ext4=" + ext4 + ", ext5=" + ext5 + "]";
    }

    /**
     * '0-未完成；1-已完成' 任务状态
     *
     * @author 15050519
     * @see [相关类/方法]（可选）
     * @since [产品/模块版本] （可选）
     */
    public static enum TaskStatus {
        /**
         * 0-未完成
         */
        INCOMPLETE("0", "未完成"),

        /**
         * 1-已完成
         */
        COMPLETE("1", "已完成");

        /**
         * 类型ID
         */
        private final String id;

        /**
         * 类型名称
         */
        private final String name;

        /**
         * 
         * @param id
         * @param name
         */
        private TaskStatus(String id, String name) {
            this.id = id;
            this.name = name;
        }

        /**
         * 获取ID
         * 
         * @return
         */
        public String getId() {
            return id;
        }

        /**
         * 获取名称
         * 
         * @return
         */
        public String getName() {
            return name;
        }

    }
}
